package cn.silver.framework.mybatis.service;

import cn.silver.framework.mybatis.bean.BusBean;
import cn.silver.framework.mybatis.domain.BusEntity;
import cn.silver.framework.mybatis.param.BusParam;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

public interface IDataService<T extends BusEntity, P extends BusParam, V extends BusBean> extends IBusService<T, P, V> {

    void importTemplate(HttpServletResponse response);

    int importData(MultipartFile file, P param);

    void exportData(P param, HttpServletResponse response);

}
